home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1995 January
/
macformat-020.iso
/
Shareware City
/
Developers
/
Think C dcmd 1.0.1 ƒ
/
Think Put Lib source
/
PutUHexWord.c
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-06-12
|
236 b
|
12 lines
|
[
TEXT/KAHL
]
void PutText(const char* s, int len );
void __HexToText (unsigned long hex, char* str, short size /* 0=word, 1=long */ );
void PutUHexWord(unsigned short h)
{
char* str = "0000";
__HexToText (h, str, 0 );
PutText( str, 4 );
}